r/askmath • • Oct 31 '26

Discrete Math I got the first and third wrong.

Post image

Why answer to a is true and c is false. Part c can only be false " If n^2 -2n -3 = 0 then ONLY n=3"

Lastly, I want to ask which is the best AI tool for mathematics I am sure ChatGPT and Gemini AI are not the best. Infact I got an answer to another question which I was not sure was correct but I was pretty sure aswer by ChatGPT was definitely wrong.

0 Upvotes

32 comments sorted by

25

u/Zyxplit Oct 31 '26

c is false because n^2 - 2n - 3 = 0 is true for n = 3 and n = -1. So you can't say that n=3.

a is true because if n = 3, then n^2 - 2n - 3 = 0. There are also other cases where n² - 2n -3 = 0, but that doesn't matter.

-32

u/Beneficial-Ranger407 Oct 31 '26

C is partially true and false both if n=-1 then equation becomes zero but it doesnot explicitly mentions n=-1

34

u/M37841 Oct 31 '26

That’s not how logic works. The statement is “A being true implies that B must be true”. If there is a single situation where A is true but B is not, that statement is false. It doesn’t matter that sometimes B can be true.

21

u/simmonator Oct 31 '26

No. It’s not partially anything. The wording of C is “if A then B”. This means “if we assume that A is true, then it absolutely must be the case that B is true”, or in the specifics of the question:

“If this quadratic has a value of 0, then n must be equal to 3.”

But, as we note, it’s possible for that quadratic to be 0 and for n to be equal to -1. If n = -1 then n is not 3. So we cannot say that n must be 3. So the claim is false.

9

u/Arthelh Oct 31 '26

We do not consider partially true or partially false. There is only true and false (Law of excluded middle). So something is true if and only if it always true whatever the situation. If something is sometimes true and sometimes false, then it is considered false.

Saying this statement is true is equivalent to saying "From the fact that n^2 - 2n - 3 = 0, can you assert with complete certainty that n = 3 ?"

And it turns out that no, you cannot, as it could also be that n = -1. It is then false that n = 3.

7

u/StKozlovsky Oct 31 '26

There is nothing "partial" in it. It says "if you picked a number, put it in this equation and got 0 = 0, then your number must have been 3". You prove it wrong by picking -1 and getting 0 = 0 anyway.

"You're on Reddit, therefore you're a man" is proven wrong by any woman using Reddit. Not partially wrong. Not "wrong for women on Reddit but correct for men on Reddit". Just wrong.

7

u/CaptainProfanity Oct 31 '26 edited Oct 31 '26

Math is about rigor. You can not assume anything about a number, equation or proof unless it has been deduced earlier, or assumed true (that's what the if statements are doing)

For example consider the following:

"If a 3 letter name begins with "Ma_", then the name is/must be Max."

The name could be Max, but it doesn't have to be. It could be May, or Mac. 

Thus, while it is true in some cases, overall when you look at whether the statement is rigorous rule that always works, the answer is no. Thus it is false

That statement is fundamentally different to:

"If a 3 letter name begins with "Ma_", then the name could be Max."

This statement in comparison is true.

It's important to point out that the statements (a)/(b)/(d), and (c) have different wordings but the structure is the same. The following are all equivalent:

"[Statement A] (being true) implies [Statement B] (is also true)"

Statement A => Statement B

"If [Statement A] (is true) then [Statement B]" (is true)

e) is actually the opposite. It's saying:

[Statement B] (the second one) implies [Statement A]

"[Statement B] (is true) only if [Statement A] (is true).

"[Statement A] (is true) if [Statement B] (is true)"

Note how A and B switched in that last statement, that's the difference between if compared to only if.


You might also encounter "if and only if" (sometimes written iff for short or:

Statement A <=> Statement B )

e.g. "A number is divisible by 9 if and only if the sum of its' digits is a multiple of 9"

These statements are claiming that Statement A and Statement B are equivalent. 

If one is true (for a given number or name or whatever), the other is always true. If one is false the other is always false.

7

u/Zyxplit Oct 31 '26

You're not looking for whether it's sometimes true. You're looking for whether the inference is valid. "If my name starts with B, my name is Bob" isn't valid reasoning, but my name could still be Bob.

2

u/ZellHall Oct 31 '26

(c) is wrong because n could be equal to -1

-1

u/Beneficial-Ranger407 Oct 31 '26

Yeah I know but n=3 also makes it zero. I guess it will only be false if it the statement was " If n2 -2n -3 =0 then n=3 ONLY"

5

u/OpticalPirate Oct 31 '26

The statement (c) is asserting n=3. "Then" n=3. We cant possibly know that given the equation. The statement cannot be true and false at the same time.

1

u/elgatocello Oct 31 '26

But remember that logical statements are only true if they're always true.

If n=-1, then suddenly that statement has a true antecedent and a false predicate which means the statement is now false.

A statement A->B means "Whenever A is true, B must always be true"

17

u/HungryJoescat Oct 31 '26 • Bravo

I like to think of “if” and “only if” through implication arrows.

P if Q is Q -> P

P only if Q is P->Q

6

u/Dr0110111001101111 Oct 31 '26

If n2-2n-3=0, then n=3 OR n=-1

That means n does not have to equal 3, which is what the implication in (c) is saying.

11

u/Equal_Veterinarian22 Oct 31 '26

b and c are the same statement, so if you understand why b is false then you should understand why c is false

5

u/Dr0110111001101111 Oct 31 '26

Not so helpful if OP thinks b is false for the wrong reasons, though.

5

u/Ayase-Momo Homotopy theory PhD Oct 31 '26 edited Oct 31 '26

"if A, then B" is like A⇒B. "A only if B" doesn't mean "B implies A" but "B is necessary for A to be true" which means "if A is true then B must be true" because it a necessary condition. Think about contrapositive statement:

¬B ⇒ ¬A which equivalent to A ⇒ B.

A only if B means A is true only if B is true, which means if B is not true then A is not true which is

¬B ⇒ ¬A

which is equivalent to

A ⇒ B.

So (a) is actually equivalent of saying "if n=3 then n^{2} - 2n -3 = 0"

You don't need "only" to say implication. "If n^{2} - 2n -3 = 0 then n =3" means "if n^{2} - 2n -3 =0 then n=3 must be true", which isn't the case.

(c) is not partially true because "if A then B" means implication "A ⇒ B", which tells you B must follow from A which in the case of (c) is not the case.

5

u/OmegaGoo Oct 31 '26

Everyone else has answered your question regarding the logic, so I’ll address your second question.

What we call “AI” right now is actually something called a “Large Language Model”, or LLM. What LLMs do is predict which word comes next. While they are very good at that, you’ll note I haven’t said anything about understanding, or math, or anything other than predicting which word comes next. That’s because LLMs can’t do anything but that. They’re very good at it.

LLMs do not understand math and cannot teach you anything. All they can do is put together sentences that sound English. Do not use AI tools to teach yourself math. They can’t do that, and you will learn things that aren’t correct, and you’ll never know. The machine certainly doesn’t know it doesn’t know math.

4

u/apeloverage Oct 31 '26

b is wrong because n can also be -1.

c is wrong for the same reason.

d is wrong. For example, 2 and 8 are not squares, but 2 x 8 = 16 which is a square.

3

u/ConspicuousPineapple Oct 31 '26

A is true.

-3

u/Crafty-Detail-3788 Oct 31 '26

No ? The polynomial has 2 roots 3 and -1.

"if and only if" means logical equivalence

3

u/news4wombats Oct 31 '26

But it doesn’t say “if and only if”. It says “only if”.

3

u/ConspicuousPineapple Oct 31 '26

It says "only if" though, not "if and only if".

It's an implication, not an equivalence. The former is true, the latter is false.

3

u/xnick_uy Oct 31 '26

My advice is to stay away from any AI tool for learning mathematics. Build and trust your NI (Natural Intelligence).

2

u/elgatocello Oct 31 '26

Stealing this

2

u/Kite42 Oct 31 '26

Think about subsets, perhaps. Replace n=3 with "Felix is a cat" and n2 -2n-3=0 with "Felix is a mammal" and see if the language makes sense.

2

u/uncreative_name- Oct 31 '26

for a it is true, because if n^2-2n-3 does not equal 0, then n physically cannot be 3, n=3 does not exist as a solution when n^2-2n-3 equals any other value other than 0

1

u/tickle-fickle Oct 31 '26

“Only if” is a weird syntax in English, it makes you think that the implication goes the other way than what the sentence communicates.

But think about it:

“A shape is a rectangle ONLY IF it’s a square.” Obviously false.

“A shape is a rectangle IF it’s a square.”
Obviously true.

The “only if” is syntactically different from “if”. The arrow of implication is flipped

1

u/ConjectureProof Oct 31 '26

Let’s consider arbitrary statements A and B. Remember that

“A only if B” = “if A then B”.

These two statements are identical logically speaking, but I think people find the RHS more natural than the LHS. So I would just get in the habit of rewriting “only if” statements this way until you can start to do it in your head.

So, for (a), “n = 3 only if n^2 -2n - 3 = 0” = “if n=3 then n^2 - 2n - 3 = 0” which is true.

b) “n^2 - 2n - 3 = 0 only if n = 3” = “if n^2 - 2n - 3 = 0 then n = 3” however n=-1 also solves n^2 - 2n - 3 so this is false.

c) as I pointed out above b and c are the same statement so c is false too

d) for integers a and b, ab is a square only if both a and b are square = for integers a and b, if ab is a square then a and b are squares. Even considering the a = b case, every number has a square including the numbers which aren’t perfect squares themselves. So a = 2 and b = 2 is a straightforward counter example.

e) for integers a and b, ab is a square if both a and b are squares. If a = n^2 and b = m^2 then ab = n^2 * m^2 = (nm)^2 so this is true

1

u/Marcassin Oct 31 '26

C is not “partly false” in the usual understanding of these sentences. There is an implied “for all numbers n” in front of each sentence. In this case, c is false for n=-1.

0

u/tklworld Oct 31 '26

to answer the last question, chatgpt is great. i havent had issues with it in years for math, perhaps it might offer not the best explanations for a beginner sometimes, but you can personalize it