Consider the implicit function y(x) defined by the equation

In summary: I still don't get how to do part b.What are you going to do in a test situation where you don't have access to matlab?
  • #1
tuablink
24
0

Homework Statement


Consider the implicit function y(x) defined by the equation
cos(x-y)=xy for x>0.5
a.find the smallest two positive values x>0.5 for which y(x)=0
b.find the global minimum of y(x) for x>0.5
c.call the numbers you found inpart(b) x1 and x2 find
integral of y(x)dx from x1 to x2


Homework Equations





The Attempt at a Solution


a.One of the two positive values is pi/2 and another one is 3*pi/2
b.I could not figure this out.
c.- 2*cos(y) – pi^2*y
 
Physics news on Phys.org
  • #2
Are what you show in your attempts at a solution the answers in the back of the book? I don't see how you could get something for part c (which depends on part b), if you couldn't figure out part b.

For part b, a maximum or minimum will occur at a point where y'(x) = 0 or is undefined or at an endpoint of the domain. Have you tried differentiating your equation implicitly to find y'(x)?
 
  • #3
I did part a. in matlab
Here is the code:
cos(x-y) = x*y
y(x) = 0, cos(x) = 0
solve('cos(x)=0')
ans = pi/2
Here is the code for part c.
int('cos(x-y)-x*y',pi/2,3*pi/2)
ans = - 2*cos(y) – pi^2*y
So, did I do part a. and c. correctly?
I still don't get how to do part b.
 
  • #4
What are you going to do in a test situation where you don't have access to matlab? This problem can be done without technology more advanced than pencil and paper.

For part a, if y(x) = 0, substitute 0 for y in the equation cos(x - y) = xy, and find the two smallest x values that are larger than .5.

For part b, this is what I said earlier.
Mark44 said:
For part b, a maximum or minimum will occur at a point where y'(x) = 0 or is undefined or at an endpoint of the domain. Have you tried differentiating your equation implicitly to find y'(x)?

When you get y'(x), we can work on part c.
 
  • #5
I differentiate the equation and I got:
y'(x)=sin(x-y)-x
Substituting y=0 into the equation:
y'(x)=sin(x)-x
I got 0 for the answer but I think it is wrong because it has to be greater than 0.5
 
  • #6
tuablink said:
I differentiate the equation and I got:
y'(x)=sin(x-y)-x
This is not right. You are forgetting that you need to use the chain rule and the product rule.
tuablink said:
Substituting y=0 into the equation:
y'(x)=sin(x)-x
I got 0 for the answer but I think it is wrong because it has to be greater than 0.5
 
  • #7
I redo the problem and I got
 
  • #8
I redo the problem and I got
y'(x)=-y-sin(x-y)-sin(x-y)+x
y'(x)=-sin(x)-sin(x)+x
y'(x)=-2sin(x)+x
 
  • #9
Am I on the right track?
 
  • #10
tuablink said:
I redo the problem and I got
y'(x)=-y-sin(x-y)-sin(x-y)+x
y'(x)=-sin(x)-sin(x)+x
y'(x)=-2sin(x)+x
Not even close. You should not be starting with y'(x) = <whatever>.

Starting with cos(x - y) = xy, your next equation should have on the left, the derivative with respec to x of cos(x - y). On the right, this equation should have the derivative with respect to x of xy.

To differentiate cos(x - y), you need to use the chain rule. To differentiate xy, you need the product rule.
 
  • #11
Also, you have posted the same problem in another thread. Don't do this.
 
  • #12
I think I did it right this time.
-sin(x-y)+cos(x-y)=x+y
 
  • #13
No, both sides are incorrect.
The derivative with respect to x of cos(x - y) is -sin(x - y) times the derivative with respect to x of x - y. (chain rule)

For the derivative with respect to x of xy, you need the product rule.
d/dx(xy) = x*d/dx(y) + y*d/dx(x). Can you finish this and the one above?
 
  • #14
The left hand side is -sin(x-y)*1
The right hand side is y
 
  • #15
How can I solve this?

Mod note: merging threads
--Redbelly98


Homework Statement


The derivative of cos(x-y)=xy is -sin(x-y)*(1+dy/dx)=y+x*dy/dx


Homework Equations





The Attempt at a Solution


I simplified a little and I got
-sin(x-y)-dy/dxsin(x-y) = y+x*dy/dx
I got stuck
 
Last edited by a moderator:
  • #16
tuablink said:
The left hand side is -sin(x-y)*1
The right hand side is y
No, both are wrong. Did you read what I wrote? Namely, d/dx(xy) = x*d/dx(y) + y*d/dx(x). That's not equal to y.

Go back in your calculus book and review the section on implicit differentiation.
 
  • #17
This should be the right derivative:
y'(x)=-y-sin(x-y)/sin(x-y)+x
What do I do next?
 
  • #18
It's not right, but it's close.

cos(x - y) = xy
d/dx(cos(x - y)) = d/dx(xy)
-sin(x - y)*(1 - y') = xy' + y
y'sin(x - y) - xy' = y + sin(x -y)
y'(sin(x - y) - x) = y + sin(x - y)
y' = [y + sin(x - y)]/[sin(x - y) - x]

tuablink said:
b.find the global minimum of y(x) for x>0.5
c.call the numbers you found inpart(b) x1 and x2 find
integral of y(x)dx from x1 to x2

A minimum or maximum can occur only at a number x at which the derivative is zero or undefined, or at an endpoint of the domain.

Find all numbers x > .5 at which the derivative y' is zero or undefined.
 
  • #19
What did I do wrong?
 
  • #20
I don't know. I showed you how to do it. Compare what you did with what I did and see where they are different.
 
  • #21
Once I finish part b. how can I do part c.
 
  • #22
It looks to me like you'll have to solve the differential equation dy/dx = [y + sin(x - y)]/[sin(x - y) - x] to get y(x), and then integrate it as described in your problem.
 
  • #23
I tried solving it by using MATLAB but it didn't work out. How can I solve it by hand?
 
  • #24
You might start with a substitution with the goal of making the differential equation separable. I would start with u = x - y and see if that helps.
 
  • #25
I used the substitution and i got:
u=x-y
du/dx=1-dy/dx
dy/dx=1-du/dx
1-du/dx=u
-du/dx=u-1
-du/u-1=dx
integral(-du/u-1)=integral(dx)
-ln(u-1)=x+c
e^ln(u-1)=e^-x-c
u=e^x-c+1
 
  • #26
The suggestion that jambaugh and I gave was to use this substitution in your differential equation y' = [y + sin(x - y)]/[sin(x - y) - x], with the goal of making it separable.

tuablink said:
I used the substitution and i got:
u=x-y
du/dx=1-dy/dx
dy/dx=1-du/dx
1-du/dx=u
-du/dx=u-1
-du/u-1=dx
integral(-du/u-1)=integral(dx)
-ln(u-1)=x+c
e^ln(u-1)=e^-x-c
u=e^x-c+1
You did not use the substitution in your differential equation, and besides, you have an error. How can you justify this equation in the fourth line? -- 1-du/dx=u

Several of the integrals in the problems you have posted are very difficult or even impossible to do by analytic means. Are you supposed to be using numerical means to solve the integrals, but haven't mentioned it?
 

Related to Consider the implicit function y(x) defined by the equation

1. What is an implicit function?

An implicit function is a mathematical function where the dependent variable cannot be explicitly expressed in terms of the independent variable. In other words, the relationship between the two variables is not directly stated in the equation, but can be deduced through algebraic manipulation.

2. How is an implicit function different from an explicit function?

An explicit function is a mathematical function where the dependent variable can be expressed explicitly in terms of the independent variable. This means that the relationship between the two variables is directly stated in the equation. In contrast, an implicit function does not explicitly state the relationship between the variables.

3. How do you find the derivative of an implicit function?

To find the derivative of an implicit function, you can use implicit differentiation. This involves treating the dependent variable as a function of the independent variable and differentiating both sides of the equation with respect to the independent variable. The resulting equation can then be solved for the derivative of the dependent variable.

4. Can implicit functions be graphed?

Yes, implicit functions can be graphed using various methods such as plotting points or using graphing software. However, the resulting graph may not be in the form of a traditional function, as it may not pass the vertical line test.

5. What are some real-life applications of implicit functions?

Implicit functions are commonly used in physics, engineering, and economics to model relationships between variables that are not directly stated. They are also used in optimization problems to find the minimum or maximum value of a function. In addition, implicit functions are used in computer graphics to create curves and surfaces.

Similar threads

  • Calculus and Beyond Homework Help
Replies
2
Views
943
  • Calculus and Beyond Homework Help
Replies
2
Views
577
  • Calculus and Beyond Homework Help
Replies
10
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
354
  • Calculus and Beyond Homework Help
Replies
18
Views
1K
  • Calculus and Beyond Homework Help
Replies
5
Views
656
  • Calculus and Beyond Homework Help
Replies
6
Views
794
  • Calculus and Beyond Homework Help
Replies
1
Views
729
  • Calculus and Beyond Homework Help
Replies
1
Views
786
  • Calculus and Beyond Homework Help
Replies
11
Views
1K
Back
Top