Question

In: Advanced Math

For each of the following problems (even the book ones) do the following: a. Use the...

For each of the following problems (even the book ones) do the following:

a. Use the x- and y- nullclines to find all the equilibrium points.

b. Compute the Jacobian matrix of the system.

c. Determine the type of each equilibrium point (if it is a hyperbolic equilibrium).

d. Plot the phase portrait in CoCalc.

1. dx/dt = x-xy-8x^2

dy/dt = -y+xy

2. dx/dt = x-y+x^2

dy/dt = x+y

3. dx/dt = 8x-4x^2-xy

dy/dt = 3y-3xy-y^2

4. dx/dt = y-x^2y

dy/dt = -x+xy^2

Solutions

Expert Solution

Mathlab Code

% Question :1
f = @(t,Y) [-Y(1)-Y(1)*Y(2)-8*(Y(1))^2; Y(1)*Y(2)-Y(2)];
y1 = linspace(-10,10,20);
y2 = linspace(-10,10,20);
[x,y] = meshgrid(y1,y2);
%size(x)
%size(y)
u = zeros(size(x));
v = zeros(size(x));
hold on
plot(0,0, 'g.', 'MarkerSize', 25);
hold on
plot(1,-9, 'g.', 'MarkerSize', 25);
hold on
plot(-1/8,0, 'g.', 'MarkerSize', 15);
hold on
t=0;
for i = 1:numel(x)
Yprime = f(t,[x(i); y(i)]);
u(i) = Yprime(1);
v(i) = Yprime(2);
end

quiver(x,y,u,v,'r'); figure(gcf)
xlabel('y_1')
ylabel('y_2')
axis tight equal;

% Question 2:
f = @(t,Y) [Y(1)+(Y(1))^2*-Y(2); Y(1)+Y(2)];
y1 = linspace(-5,10,800);
y2 = linspace(-5,10,800);
[x,y] = meshgrid(y1,y2);
%size(x)
%size(y)
u = zeros(size(x));
v = zeros(size(x));
hold on
plot(0,0, 'g.', 'MarkerSize', 25);
hold on
plot(-2,2, 'g.', 'MarkerSize', 25);
hold on
t=0;
for i = 1:numel(x)
Yprime = f(t,[x(i); y(i)]);
u(i) = Yprime(1);
v(i) = Yprime(2);
end

quiver(x,y,u,v,'r'); figure(gcf)
xlabel('y_1')
ylabel('y_2')
axis tight equal;

% Question :3
f = @(t,Y) [8*Y(1)-Y(1)*Y(2)-4*(Y(1))^2; -3*Y(1)*Y(2)-+3*Y(2)-(Y(2)^2)];
y1 = linspace(-10,10,20);
y2 = linspace(-20,10,20);
[x,y] = meshgrid(y1,y2);
%size(x)
%size(y)
u = zeros(size(x));
v = zeros(size(x));
hold on
plot(0,0, 'g.', 'MarkerSize', 25);
hold on
plot(0,3, 'g.', 'MarkerSize', 25);
hold on
plot(2,0, 'g.', 'MarkerSize', 15);
hold on
plot(5,-12, 'g.', 'MarkerSize', 15);
hold on
t=0;
for i = 1:numel(x)
Yprime = f(t,[x(i); y(i)]);
u(i) = Yprime(1);
v(i) = Yprime(2);
end

quiver(x,y,u,v,'r'); figure(gcf)
xlabel('y_1')
ylabel('y_2')
axis tight equal;

% Question 4 :
f = @(t,Y) [Y(2)-((Y(1))^2)*Y(2); -Y(1)+Y(1)*(Y(2)^2)];
y1 = linspace(-4,5,20);
y2 = linspace(-4,5,20);
[x,y] = meshgrid(y1,y2);
%size(x)
%size(y)
u = zeros(size(x));
v = zeros(size(x));
hold on
plot(0,0, 'g.', 'MarkerSize', 25);
hold on
plot(1,-1, 'g.', 'MarkerSize', 25);
hold on
plot(-1,-1, 'g.', 'MarkerSize', 15);
hold on
plot(1,1, 'g.', 'MarkerSize', 15);
hold on
plot(-1,1, 'g.', 'MarkerSize', 15);
hold on
t=0;
for i = 1:numel(x)
Yprime = f(t,[x(i); y(i)]);
u(i) = Yprime(1);
v(i) = Yprime(2);
end

quiver(x,y,u,v,'r'); figure(gcf)
xlabel('y_1')
ylabel('y_2')
axis tight equal;


Related Solutions

Solution Procedure: In solving these problems and subsequent ones, use the following procedure: (1) Define the...
Solution Procedure: In solving these problems and subsequent ones, use the following procedure: (1) Define the events of interest. (2) Write down the information given. (3) Write down the question. (4) Use the appropriate rule to answer the question. There are three very old X-ray security machines in the departure complex of an airport. All three machines are exactly the same. The probability that a machine breaks down in the course of a day is 0.2. If they are all...
Use calculator or Excel to solve the following problems. DO NOT USE MINITAB (except e). Do...
Use calculator or Excel to solve the following problems. DO NOT USE MINITAB (except e). Do NOT use Excel built-in functions or solvers (except t.inv() and f.inv() to obtain critical t and f values). The tensile strength of Portland cement is being studied. Four different mixing techniques can be used economically. A completely randomized experiment was conducted and the following data were collected: Technique Tensile Strength Tensile Strength Tensile Strength Tensile Strength 1 3129 3000 2865 2890 2 3200 3300...
I'm trying to do some pratice problems in the book and here is one of them....
I'm trying to do some pratice problems in the book and here is one of them. THIS IS FOR JAVA. Write a method cleanCorruptData that accepts an ArrayList of integers and removes any adjacent pair of integers in the list if the left element of the pair is smaller than the right element of the pair. Every pair's left element is an even-numbered index in the list, and every pair's right element is an odd index in the list. For...
Do the following problems: a. Use mathematical induction to show that 1 + 2 + 22...
Do the following problems: a. Use mathematical induction to show that 1 + 2 + 22 +···+ 2n = 2n+1 − 1 for all non-negative integers n. b. A coin is weighted so that P(H) = 2/3 and P(T) = 1/3. The coin is tossed 4 times. Let the random variable X denote the number of heads that appear. (x) Find the distribution of X; (xx) Find the expectation E(X). c. Show a derivation of Bayes’ Theorem
In the following problems , give a complete hypothesis test for each problem. Use the method...
In the following problems , give a complete hypothesis test for each problem. Use the method described. Make sure you include the original claim in symbols, The null and alternative hypothesis, the significance level, the actual formula and calculation of the test statistic, give the p-value and a  drawing of critical region ,the decision concerning the null hypothesis and a conclusion stated in non technical terms In a recent year, of the 109,857 arrests for Federal Offenses, 31968 were for drug...
For the Chapter 4 problems, show all work in an Excel book, labeling each item by...
For the Chapter 4 problems, show all work in an Excel book, labeling each item by the problem number. Save the file in the format flastname_Unit_1_Learning_Activity.xlsx, where flastname is your first initial and your last name, and submit it to the appropriate Dropbox. For full credit, be sure to use appropriate formulas to solve each exercise or problem. Star Inc. has Year 1 revenues of $80 million, net income of $9 million, assets of $65 million, and equity of $40...
For the Chapter 4 problems, show all work in an Excel book, labeling each item by...
For the Chapter 4 problems, show all work in an Excel book, labeling each item by the problem number. Save the file in the format flastname_Unit_1_Learning_Activity.xlsx, where flastname is your first initial and your last name, and submit it to the appropriate Dropbox. For full credit, be sure to use appropriate formulas to solve each exercise or problem. Star Inc. has Year 1 revenues of $80 million, net income of $9 million, assets of $65 million, and equity of $40...
Complete the following problems using either a financial calculator or a spreadsheet program. Do not use...
Complete the following problems using either a financial calculator or a spreadsheet program. Do not use interim rounding, state your answers as positive values, to two decimal places for dollar or period values and four places for percentages stated as decimals; do not label answers with symbols such as $ or %. For example, “10.5%” should be input as “.1050” 1. Jacinda Herschel wants to buy a car and determines she can afford to pay $295.02 a month for a...
Complete the following problems using either a financial calculator or a spreadsheet program. Do not use...
Complete the following problems using either a financial calculator or a spreadsheet program. Do not use interim rounding, state your answers as positive values, to two decimal places for dollar or period values and four places for percentages stated as decimals; do not label answers with symbols such as $ or %. For example, "10.5%" should be input as ".1050" 1. An investment compounding twice a month has an effective rate of 0.1688. The nominal rate is: 2.Brian Burkhardt is...
Use implicit differentiation in each of the following problems to find dy/dx. Then determine the equation...
Use implicit differentiation in each of the following problems to find dy/dx. Then determine the equation of a tangent line at the given point. (a) y = xe^y , at (1/e, 1) (b) sin x cos y = sin x + cos y, at (0, π/2). Hint: One of the lines is vertical, so its derivative is undefined at the given point. Recall that the equation of a vertical line has the form x = a.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT