0
$\begingroup$

I have a function $f(x)=\sqrt{-ax}$, where $x\in(-K,0)$, and $a\in\mathbb{R}^{++}$. I proceeded to derive $f'(x)$ in two different ways, in each treating $\sqrt{-a}$ and $\sqrt{a}$ as a constant respectively.

First Way: \begin{align} f'(x)=\frac{\sqrt{-a}}{2\sqrt{x}}=\frac{1}{2}\sqrt{\frac{a}{-x}}\ge 0. \end{align}

Second Way: \begin{align} f'(x)=\sqrt{a}\frac{1}{2\sqrt{-x}}(-1)=\frac{-1}{2}\sqrt{\frac{a}{-x}}\le 0. \end{align}

Which is the correct way?

$\endgroup$
2
  • $\begingroup$ What is $\mathbb{R}^{++}$, with the two pluses? $\endgroup$
    – zipirovich
    Aug 23, 2018 at 18:16
  • $\begingroup$ What are $\sqrt{-a}$ and $\sqrt x$ in the formula $$f'(x)=\frac{\sqrt{-a}}{2\sqrt{x}}\ ?$$ $\endgroup$
    – Did
    Aug 23, 2018 at 18:26

1 Answer 1

1
$\begingroup$

Second way is the correct one. But I would do it like this: $$g(x)=-ax\\g'(x)=-a\\f(y)=\sqrt{y}\\f'(y)=\frac{1}{2\sqrt{y}}\\f'(g(x))=\frac{g'(x)}{q\sqrt{g(x)}}=\frac{-a}{2\sqrt{-ax}}$$ In your first method neither $\sqrt x$ or $\sqrt{-a}$ are real numbers.

$\endgroup$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .