How Do You Find the Derivative of This Function?

  • Context: MHB 
  • Thread starter Thread starter riri
  • Start date Start date
  • Tags Tags
    Derivative
Click For Summary

Discussion Overview

The discussion revolves around finding the derivative of the function $$f(x)=\frac{x\cos(x)+\sqrt{x}}{x+\sin(x)}$$ using calculus techniques, specifically the quotient rule and product rule. Participants share their approaches and challenges encountered during the differentiation process.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Homework-related

Main Points Raised

  • One participant expresses difficulty in applying the quotient rule and ends up with a complex expression that seems incorrect.
  • Another participant suggests using the quotient rule and provides the formula for the derivative, inviting further contributions.
  • A participant describes their progress using the quotient rule but feels stuck on the subsequent steps, indicating a belief that their direction may be incorrect.
  • Further elaboration on the differentiation of the numerator is provided, including the application of the product rule and power rule for specific terms.
  • One participant points out a common error in expanding the denominator, emphasizing the correct formula for squaring a binomial.

Areas of Agreement / Disagreement

Participants do not reach a consensus on the correct approach to the problem, as multiple perspectives and methods are presented, and some express uncertainty about their calculations.

Contextual Notes

Some participants mention specific steps in differentiation that may depend on the correct application of calculus rules, and there are indications of unresolved mathematical steps and potential errors in earlier calculations.

riri
Messages
28
Reaction score
0
Hello, I am having trouble finding the derivative of this function. Any help would be appreciated!

$$\frac{x\cos(x)+\sqrt{x}}{x+\sin(x)}$$

What I tried was expanding it first to like $$(x+\sin(x)(x\cos(x)+\sqrt{x})'-(x\cos(x)+\sqrt{x}$$
But I ended up with a long weird answer and doesn't seem to work!

Can anyone give ideas for this?
 
Physics news on Phys.org
Hello, riri! :D

I have moved this thread here to our Calculus forum. While the problem does involve trigonometric functions, it is primarily a problem in differential calculus.

Also, I have edited your post to wrap your $\LaTeX$ code in $$$$ tags.

We are given:

$$f(x)=\frac{x\cos(x)+\sqrt{x}}{x+\sin(x)}$$

We have a quotient, so I would suggest applying the quotient rule to get:

$$f'(x)=\frac{\left(x+\sin(x)\right)\left(x\cos(x)+\sqrt{x}\right)^{\prime}-\left(x\cos(x)+\sqrt{x}\right)\left(x+\sin(x)\right)^{\prime}}{\left(x+\sin(x)\right)^2}$$

Can you continue?
 
Hi Mark! :D
Thank you, as you can see I'm still pretty new to this website but love it so much!

Yup, so I did use the quotient rule and got up to that part, it's just that I'm stuck on what to do after like:

$$\frac{x+\sin(x)(1(-\sin(x))+{x}^{\frac{-1}{2}}-(x\cos(x)+\sqrt{x}(1+\cos(x)}{x^2+\sin(x)^2}$$

I feel the direction I'm going in is wrong because I got a really long equation thing and it's stuck there... I'm hoping there's a simple way to solve this though!

Thank you!
 
Let's first look at the numerator:

$$\left(x+\sin(x)\right)\left(x\cos(x)+\sqrt{x}\right)^{\prime}-\left(x\cos(x)+\sqrt{x}\right)\left(x+\sin(x)\right)^{\prime}$$

Now, let's look at the parts still left to differentiate, beginning with:

$$\left(x\cos(x)+\sqrt{x}\right)^{\prime}$$

For the first term, we will need to use the product rule:

$$\frac{d}{dx}\left(x\cos(x)\right)=x(-\sin(x))+1(\cos(x))=\cos(x)-x\sin(x)$$

And for the second term, we need the power rule:

$$\frac{d}{dx}\left(\sqrt{x}\right)=\frac{d}{dx}\left(x^{\frac{1}{2}}\right)=\frac{1}{2}x^{-\frac{1}{2}}=\frac{1}{2\sqrt{x}}$$

Putting this together, we may write:

$$\left(x\cos(x)+\sqrt{x}\right)^{\prime}=\cos(x)-x\sin(x)+\frac{1}{2\sqrt{x}}$$

The other part still left to differentiate is:

$$\left(x+\sin(x)\right)^{\prime}=\frac{d}{dx}\left(x+\sin(x)\right)=1+\cos(x)$$

And so the numerator then becomes:

$$\left(x+\sin(x)\right)\left(\cos(x)-x\sin(x)+\frac{1}{2\sqrt{x}}\right)-\left(x\cos(x)+\sqrt{x}\right)\left(1+\cos(x)\right)$$

You could multiply everything out and see if you can combine terms and use trig. identities to simplify.

For the denominator, you have committed an error so commonly made, it has a special name, which is "The Freshman's Dream." You have stated essentially:

$$(a+b)^2=a^2+b^2$$

This is not true in general, what you want, if you are going to expand it, is:

$$(a+b)^2=a^2+2ab+b^2$$
 

Similar threads

  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 29 ·
Replies
29
Views
5K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 15 ·
Replies
15
Views
2K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 3 ·
Replies
3
Views
3K