Kevin B. answered 10/24/22
A Specialist in Math and Physics
I am supposing both y and z are functions of t.
Trig substitutions in calc applications are generally used to eliminate root operations (or just to change on calc function into another one) to allow for easier approaches to performing integrals. I don't think it will help here.
Euler method and RK4 both require some initial condition such as y(t0) = y0; z(t0) = z0 to be specified, meaning they cannot be used. But option b allows for this problem to be remedied in order to suggest the Euler method if the problem statement is modified a bit.
It might not be clear right away whether we can use Euler's method just by looking at the problem. But there is a way to find out: Let's just make up our own initial conditions and see if we can get anywhere by pretending that y(0) = 2 and z(0) = 1, understanding t0 = 0 and arbitrarily choosing the sampling interval h = 0.1. Let's start with y:
First, find an equation for the tangent line at t0. We just need a slope and a y-intercept. Our tangent line will be as simple as
y0(t) = mt + b
m: The slope of the line tangent to y(t) at t0
b: The y-intercept of the tangent line (since the tangent line is taken at t0 = 0, this is just the value of y(t0)
The slope of the tangent line of y(t) is given by the function y'(t), by definition. This is what a derivative is, no matter how complicated the representation of it is. We don't know what y'(t) is in terms of t alone (if we did, this wouldn't be a very interesting diff-eq. problem), but we have been given y'(t) in terms of y(t) and z(t):
y'(t) = y(t)2 - z(t)2
We are specifically interested in what is the value of y'(t0), which is just y'(0):
y'(0) = y(0)2 - z(0)2
Initial conditions we made up are:
y(0) = 2
z(0) = 1
so
y'(0) = (2)2 - (1)2 = 3
That is our slope of y(t) at t0. Now we just need to know the y-intercept of the tangent line. Since we are taking the tangent line at the y-axis (t = 0), we can just find the value of y(t0):
y(t0) = y(0) = 2
This is again a given value. Now assemble the slope and y-intercept into the tangent line equation:
y0 = mt + b = 3t + 2
The idea is that if we follow the tangent line in t just a tiny bit, the output y0(t) will be really close to the exact value of y(t), because y(t) is presumed continuous and differentiable.
We slide along the tangent line by our chosen interval h and see what we get:
y0(t0 + h) = 3(t0 + h) + 2 = 3((0) + (0.1)) + 2 = 2.3
The key assumption is that this value is close to the actual y(t0 + h), which we will call y(t1). We can move forward by taking y(t1) to be 2.3
Before we can make further approximations, we also need to get an estimate for z(t) at t1. We use the same method:
z0 = mt + b
z'(t) = y(t)2 + z(t)2
m = z'(0) = y(0)2 + z(0)2 = 5
b = z(0) = 1
z0 = 5t + 1
Find an approximation of z(t1) by sampling the tangent line:
z0(t1) = z0(0.1) = 5(0.1) + 1 = 1.5
We assume a value of 1.5 for z(t1).
There, since we have values to use for y(t1) and z(t1) and y'(t) and z'(t) are given in terms of y and z, we can do the process again to get another estimate by finding the tangent lines to y and z at t1 and advancing along them in t by the amount h. If we do so:
y'(t1) = y(t1)2 - z(t1)2 = (2.3)2 - (1.5)2 = 3.04
z'(t1) = y(t1)2 + z(t1)2 = (2.3)2 + (1.5)2 = 7.54
y1 = 2.3 + 3.04(t - 0.5)
z1 = 1.5 + 7.54(t - 0.5)
y(t2) ≈ y1(t2) = y1(1) = 2.3 + 3.04(1 - 0.5) = 3.82
z(t2) ≈ z1(t2) = z1(1) = 1.5 + 7.54(1 - 0.5) = 5.27
It looks to me like Euler's method is working as long as initial conditions are provided, so the best answer is b.