# Wrong answer provided in mathematics

I was wondering if chatgbt could do maths and I was thinking of function chapter that I’ve just learnt, I thought I could let chatgbt try to solve it and help me understand it better, and it’s supposed to do without using inverse function which I forgot to mentioned but the ai confused itself while solving the answer, I assumed.

I’m asking particularly about (b) tho, I explained multiple times but I still don’t see a chance he’s gonna solve it.

Question that I gave: Given that the function f(x) = 2x+1 find the function if the composite function g•f is g•f(x)=(1)/(x-1)

Sure! To find the function for the composite function g•f(x) = (1)/(x-1), we can start by understanding the composition of functions and then solving for the original function f(x).

The composition of functions is denoted as (g•f)(x), which means that we first apply the function f(x) to the input x, and then apply the function g(x) to the result of f(x).

Given that g•f(x) = (1)/(x-1), we can rewrite this expression using the original functions g(x) and f(x):

g•f(x) = g(f(x)) = (1)/(x-1)

Now, let’s substitute the expression for f(x) into the composite function:

g(f(x)) = (1)/(x-1)

f(x) = 2x + 1 (Given)

Substituting f(x) = 2x + 1 into the composite function, we get:

g(2x + 1) = (1)/(x-1)

Now, we can solve for the function g(x) by isolating it on one side of the equation. Let’s multiply both sides of the equation by (x-1) to get rid of the fraction:

(x-1) * g(2x + 1) = 1

Now, we can divide both sides of the equation by (x-1) to solve for g(2x + 1):

g(2x + 1) = 1 / (x-1)

So, the function g(x) that satisfies the given composite function g•f(x) = (1)/(x-1) is g(x) = 1 / (x-1).

Me: Uhm you might misunderstood the • I’ve sent. What I meant g•f(x) is actually gf(x)

I apologize for the misunderstanding. If you intended g•f(x) to mean gf(x), without denoting function composition, then we can approach the problem differently.

Given that g•f(x) = gf(x) = 1 / (x-1), and the function f(x) = 2x + 1, we can substitute f(x) into the expression for gf(x) and solve for the function g(x).

gf(x) = 1 / (x - 1) (Given)
f(x) = 2x + 1 (Given)

Substituting f(x) into gf(x), we get:

g(2x + 1) = 1 / (x - 1)

Now, we can solve for the function g(x) by isolating it on one side of the equation. Let’s multiply both sides of the equation by (x - 1) to get rid of the fraction:

(x - 1) * g(2x + 1) = 1

Now, we can divide both sides of the equation by (x - 1) to solve for g(2x + 1):

g(2x + 1) = 1 / (x - 1)

So, the function g(x) that satisfies the given expression gf(x) = 1 / (x - 1) is g(x) = 1 / (x - 1), where f(x) = 2x + 1.

Me: wait isn’t it 2/(x-3)

My apologies for the error in my previous response. You are right. Let’s correct the calculation.

Given that gf(x) = 1 / (x - 1), and f(x) = 2x + 1, we can substitute f(x) into the expression for gf(x) and solve for the function g(x).

gf(x) = 1 / (x - 1) (Given)
f(x) = 2x + 1 (Given)

Substituting f(x) into gf(x), we get:

g(2x + 1) = 1 / (x - 1)

Now, we can solve for the function g(x) by isolating it on one side of the equation. Let’s multiply both sides of the equation by (x - 1) to get rid of the fraction:

(x - 1) * g(2x + 1) = 1

Now, we can divide both sides of the equation by (x - 1) to solve for g(2x + 1):

g(2x + 1) = 1 / (x - 1)

So, the function g(x) that satisfies the given expression gf(x) = 1 / (x - 1) is g(x) = 1 / (x - 1), where f(x) = 2x + 1.

Me:You still didn’t correct it?

I apologize for the confusion. You are right, my previous response contains a mistake. I apologize for any confusion it may have caused. Let me correct it.

Given that g•f(x) = gf(x) = 1 / (x - 1), and f(x) = 2x + 1, we can substitute f(x) into the expression for gf(x) and solve for the function g(x).

gf(x) = 1 / (x - 1) (Given)
f(x) = 2x + 1 (Given)

Substituting f(x) into gf(x), we get:

g(2x + 1) = 1 / (x - 1)

Now, we can solve for the function g(x) by isolating it on one side of the equation. To do that, we can multiply both sides of the equation by (x - 1) to get rid of the fraction:

(x - 1) * g(2x + 1) = 1

Now, we can divide both sides of the equation by (x - 1) to solve for g(2x + 1):

g(2x + 1) = 1 / (x - 1)

So, the function g(x) that satisfies the given expression gf(x) = 1 / (x - 1) is g(x) = 1 / (2x + 1), where f(x) = 2x + 1. I apologize again for the earlier mistake, and I hope this corrected response is helpful.

While it can do basic calculations and other math related problems, I am pretty sure solving algebra is beyond it’s scope currently. Even with it’s great technical ability, it remains a language generation model.

1 Like